import { createRouter, createWebHashHistory } from "vue-router";

import Setting from "./components/Setting.vue";
import Hand from "./components/Hand.vue";
import App from "./App.vue";

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: "/",
      name: "App",
      component: App,
    },
    {
      path: "/hand",
      name: "Hand",
      component: Hand,
    },
    {
      path: "/setting",
      name: "Setting",
      component: Setting,
    },
  ],
});

export default router;
